package com.pr.makfilm.admin.cmp.menu;

import com.pr.makfilm.admin.pages.user.list.UserListPage;
import com.pr.makfilm.core.cmp.menu.AbstractMenuPanel;
import com.pr.makfilm.core.cmp.menu.MenuItem;

import java.util.Arrays;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Pawel
 * Date: 08.09.13
 * Time: 21:03
 * To change this template use File | Settings | File Templates.
 */
public class AdminMenuPanel extends AbstractMenuPanel implements AdminMenuKeys
{
   public AdminMenuPanel(String id)
   {
      super(id, UserListPage.class);
   }

   @Override
   protected List<MenuItem> provideMenuItems()
   {
      return Arrays.asList(new MenuItem(USER_LIST_PAGE, "icon-group", UserListPage.class)
      );
   }
}